﻿using System;
using System.Web.Security;
namespace Common
{
    public class CNSecurity
    {
        public CNSecurity()
		{
			//
			// TODO: Add constructor logic here
			//
		}
		public static string EncryptMD5(string Str)
		{
			return FormsAuthentication.HashPasswordForStoringInConfigFile(Str ,"MD5").ToLower();
		}
    }
}
